package com.slwu.builder;

/**
 * 角色建造器，抽象建造者
 */
public abstract class ActorBuilder {
    protected Actor actor = new Actor();
    public abstract void buildType();
    public abstract void buildSex();
    public abstract void buildFace();
    public abstract void buildCostume();
    public abstract void buildHairstyle();

    /**
     * 工厂方法，返回角色
     * @return 角色
     */
    public Actor creatActor() {
        return actor;
    }

}
